/**
 * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
 * Licensed under the GNU Affero General Public License (AGPL).
 * See License.AGPL.txt in the project root for license information.
 */

// source: workspace_daemon.proto
/**
 * @fileoverview
 * @enhanceable
 * @suppress {missingRequire} reports error on implicit type usages.
 * @suppress {messageConventions} JS Compiler reports an error if a variable or
 *     field starts with 'MSG_' and isn't a translatable message.
 * @public
 */
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
    return this || window || global || self || Function("return this")();
}.call(null);

goog.exportSymbol("proto.iws.Cpu", null, global);
goog.exportSymbol("proto.iws.EvacuateCGroupRequest", null, global);
goog.exportSymbol("proto.iws.EvacuateCGroupResponse", null, global);
goog.exportSymbol("proto.iws.FSShiftMethod", null, global);
goog.exportSymbol("proto.iws.Memory", null, global);
goog.exportSymbol("proto.iws.MountProcRequest", null, global);
goog.exportSymbol("proto.iws.MountProcResponse", null, global);
goog.exportSymbol("proto.iws.PrepareForUserNSRequest", null, global);
goog.exportSymbol("proto.iws.PrepareForUserNSResponse", null, global);
goog.exportSymbol("proto.iws.Resources", null, global);
goog.exportSymbol("proto.iws.SetupPairVethsRequest", null, global);
goog.exportSymbol("proto.iws.SetupPairVethsResponse", null, global);
goog.exportSymbol("proto.iws.TeardownRequest", null, global);
goog.exportSymbol("proto.iws.TeardownResponse", null, global);
goog.exportSymbol("proto.iws.UmountProcRequest", null, global);
goog.exportSymbol("proto.iws.UmountProcResponse", null, global);
goog.exportSymbol("proto.iws.WorkspaceInfoRequest", null, global);
goog.exportSymbol("proto.iws.WorkspaceInfoResponse", null, global);
goog.exportSymbol("proto.iws.WriteIDMappingRequest", null, global);
goog.exportSymbol("proto.iws.WriteIDMappingRequest.Mapping", null, global);
goog.exportSymbol("proto.iws.WriteIDMappingResponse", null, global);
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.PrepareForUserNSRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.PrepareForUserNSRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.PrepareForUserNSRequest.displayName = "proto.iws.PrepareForUserNSRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.PrepareForUserNSResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.PrepareForUserNSResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.PrepareForUserNSResponse.displayName = "proto.iws.PrepareForUserNSResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.WriteIDMappingResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.WriteIDMappingResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.WriteIDMappingResponse.displayName = "proto.iws.WriteIDMappingResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.WriteIDMappingRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, proto.iws.WriteIDMappingRequest.repeatedFields_, null);
};
goog.inherits(proto.iws.WriteIDMappingRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.WriteIDMappingRequest.displayName = "proto.iws.WriteIDMappingRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.WriteIDMappingRequest.Mapping = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.WriteIDMappingRequest.Mapping, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.WriteIDMappingRequest.Mapping.displayName = "proto.iws.WriteIDMappingRequest.Mapping";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.EvacuateCGroupRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.EvacuateCGroupRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.EvacuateCGroupRequest.displayName = "proto.iws.EvacuateCGroupRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.EvacuateCGroupResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.EvacuateCGroupResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.EvacuateCGroupResponse.displayName = "proto.iws.EvacuateCGroupResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.MountProcRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.MountProcRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.MountProcRequest.displayName = "proto.iws.MountProcRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.MountProcResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.MountProcResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.MountProcResponse.displayName = "proto.iws.MountProcResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.UmountProcRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.UmountProcRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.UmountProcRequest.displayName = "proto.iws.UmountProcRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.UmountProcResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.UmountProcResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.UmountProcResponse.displayName = "proto.iws.UmountProcResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.TeardownRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.TeardownRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.TeardownRequest.displayName = "proto.iws.TeardownRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.TeardownResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.TeardownResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.TeardownResponse.displayName = "proto.iws.TeardownResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.SetupPairVethsRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.SetupPairVethsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.SetupPairVethsRequest.displayName = "proto.iws.SetupPairVethsRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.SetupPairVethsResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.SetupPairVethsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.SetupPairVethsResponse.displayName = "proto.iws.SetupPairVethsResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.WorkspaceInfoRequest = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.WorkspaceInfoRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.WorkspaceInfoRequest.displayName = "proto.iws.WorkspaceInfoRequest";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.WorkspaceInfoResponse = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.WorkspaceInfoResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.WorkspaceInfoResponse.displayName = "proto.iws.WorkspaceInfoResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.Resources = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.Resources, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.Resources.displayName = "proto.iws.Resources";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.Cpu = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.Cpu, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.Cpu.displayName = "proto.iws.Cpu";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.iws.Memory = function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.iws.Memory, jspb.Message);
if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.iws.Memory.displayName = "proto.iws.Memory";
}

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.PrepareForUserNSRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.PrepareForUserNSRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.PrepareForUserNSRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.PrepareForUserNSRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.PrepareForUserNSRequest}
 */
proto.iws.PrepareForUserNSRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.PrepareForUserNSRequest();
    return proto.iws.PrepareForUserNSRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.PrepareForUserNSRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.PrepareForUserNSRequest}
 */
proto.iws.PrepareForUserNSRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.PrepareForUserNSRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.PrepareForUserNSRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.PrepareForUserNSRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.PrepareForUserNSRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.PrepareForUserNSResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.PrepareForUserNSResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.PrepareForUserNSResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.PrepareForUserNSResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                fsShift: jspb.Message.getFieldWithDefault(msg, 1, 0),
                fullWorkspaceBackup: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
                persistentVolumeClaim: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.PrepareForUserNSResponse}
 */
proto.iws.PrepareForUserNSResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.PrepareForUserNSResponse();
    return proto.iws.PrepareForUserNSResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.PrepareForUserNSResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.PrepareForUserNSResponse}
 */
proto.iws.PrepareForUserNSResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {!proto.iws.FSShiftMethod} */ (reader.readEnum());
                msg.setFsShift(value);
                break;
            case 2:
                var value = /** @type {boolean} */ (reader.readBool());
                msg.setFullWorkspaceBackup(value);
                break;
            case 3:
                var value = /** @type {boolean} */ (reader.readBool());
                msg.setPersistentVolumeClaim(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.PrepareForUserNSResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.PrepareForUserNSResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.PrepareForUserNSResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.PrepareForUserNSResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getFsShift();
    if (f !== 0.0) {
        writer.writeEnum(1, f);
    }
    f = message.getFullWorkspaceBackup();
    if (f) {
        writer.writeBool(2, f);
    }
    f = message.getPersistentVolumeClaim();
    if (f) {
        writer.writeBool(3, f);
    }
};

/**
 * optional FSShiftMethod fs_shift = 1;
 * @return {!proto.iws.FSShiftMethod}
 */
proto.iws.PrepareForUserNSResponse.prototype.getFsShift = function () {
    return /** @type {!proto.iws.FSShiftMethod} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};

/**
 * @param {!proto.iws.FSShiftMethod} value
 * @return {!proto.iws.PrepareForUserNSResponse} returns this
 */
proto.iws.PrepareForUserNSResponse.prototype.setFsShift = function (value) {
    return jspb.Message.setProto3EnumField(this, 1, value);
};

/**
 * optional bool full_workspace_backup = 2;
 * @return {boolean}
 */
proto.iws.PrepareForUserNSResponse.prototype.getFullWorkspaceBackup = function () {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};

/**
 * @param {boolean} value
 * @return {!proto.iws.PrepareForUserNSResponse} returns this
 */
proto.iws.PrepareForUserNSResponse.prototype.setFullWorkspaceBackup = function (value) {
    return jspb.Message.setProto3BooleanField(this, 2, value);
};

/**
 * optional bool persistent_volume_claim = 3;
 * @return {boolean}
 */
proto.iws.PrepareForUserNSResponse.prototype.getPersistentVolumeClaim = function () {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};

/**
 * @param {boolean} value
 * @return {!proto.iws.PrepareForUserNSResponse} returns this
 */
proto.iws.PrepareForUserNSResponse.prototype.setPersistentVolumeClaim = function (value) {
    return jspb.Message.setProto3BooleanField(this, 3, value);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.WriteIDMappingResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.WriteIDMappingResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.WriteIDMappingResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.WriteIDMappingResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                message: jspb.Message.getFieldWithDefault(msg, 1, ""),
                errorCode: jspb.Message.getFieldWithDefault(msg, 2, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.WriteIDMappingResponse}
 */
proto.iws.WriteIDMappingResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.WriteIDMappingResponse();
    return proto.iws.WriteIDMappingResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.WriteIDMappingResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.WriteIDMappingResponse}
 */
proto.iws.WriteIDMappingResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {string} */ (reader.readString());
                msg.setMessage(value);
                break;
            case 2:
                var value = /** @type {number} */ (reader.readUint32());
                msg.setErrorCode(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.WriteIDMappingResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.WriteIDMappingResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.WriteIDMappingResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.WriteIDMappingResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getMessage();
    if (f.length > 0) {
        writer.writeString(1, f);
    }
    f = message.getErrorCode();
    if (f !== 0) {
        writer.writeUint32(2, f);
    }
};

/**
 * optional string message = 1;
 * @return {string}
 */
proto.iws.WriteIDMappingResponse.prototype.getMessage = function () {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};

/**
 * @param {string} value
 * @return {!proto.iws.WriteIDMappingResponse} returns this
 */
proto.iws.WriteIDMappingResponse.prototype.setMessage = function (value) {
    return jspb.Message.setProto3StringField(this, 1, value);
};

/**
 * optional uint32 error_code = 2;
 * @return {number}
 */
proto.iws.WriteIDMappingResponse.prototype.getErrorCode = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.WriteIDMappingResponse} returns this
 */
proto.iws.WriteIDMappingResponse.prototype.setErrorCode = function (value) {
    return jspb.Message.setProto3IntField(this, 2, value);
};

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.iws.WriteIDMappingRequest.repeatedFields_ = [3];

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.WriteIDMappingRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.WriteIDMappingRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.WriteIDMappingRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.WriteIDMappingRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                pid: jspb.Message.getFieldWithDefault(msg, 1, 0),
                gid: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
                mappingList: jspb.Message.toObjectList(
                    msg.getMappingList(),
                    proto.iws.WriteIDMappingRequest.Mapping.toObject,
                    includeInstance,
                ),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.WriteIDMappingRequest}
 */
proto.iws.WriteIDMappingRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.WriteIDMappingRequest();
    return proto.iws.WriteIDMappingRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.WriteIDMappingRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.WriteIDMappingRequest}
 */
proto.iws.WriteIDMappingRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setPid(value);
                break;
            case 2:
                var value = /** @type {boolean} */ (reader.readBool());
                msg.setGid(value);
                break;
            case 3:
                var value = new proto.iws.WriteIDMappingRequest.Mapping();
                reader.readMessage(value, proto.iws.WriteIDMappingRequest.Mapping.deserializeBinaryFromReader);
                msg.addMapping(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.WriteIDMappingRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.WriteIDMappingRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.WriteIDMappingRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.WriteIDMappingRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getPid();
    if (f !== 0) {
        writer.writeInt64(1, f);
    }
    f = message.getGid();
    if (f) {
        writer.writeBool(2, f);
    }
    f = message.getMappingList();
    if (f.length > 0) {
        writer.writeRepeatedMessage(3, f, proto.iws.WriteIDMappingRequest.Mapping.serializeBinaryToWriter);
    }
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.WriteIDMappingRequest.Mapping.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.WriteIDMappingRequest.Mapping.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.WriteIDMappingRequest.Mapping} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.WriteIDMappingRequest.Mapping.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                containerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
                hostId: jspb.Message.getFieldWithDefault(msg, 2, 0),
                size: jspb.Message.getFieldWithDefault(msg, 3, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.WriteIDMappingRequest.Mapping}
 */
proto.iws.WriteIDMappingRequest.Mapping.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.WriteIDMappingRequest.Mapping();
    return proto.iws.WriteIDMappingRequest.Mapping.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.WriteIDMappingRequest.Mapping} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.WriteIDMappingRequest.Mapping}
 */
proto.iws.WriteIDMappingRequest.Mapping.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {number} */ (reader.readUint32());
                msg.setContainerId(value);
                break;
            case 2:
                var value = /** @type {number} */ (reader.readUint32());
                msg.setHostId(value);
                break;
            case 3:
                var value = /** @type {number} */ (reader.readUint32());
                msg.setSize(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.WriteIDMappingRequest.Mapping.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.WriteIDMappingRequest.Mapping} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.WriteIDMappingRequest.Mapping.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getContainerId();
    if (f !== 0) {
        writer.writeUint32(1, f);
    }
    f = message.getHostId();
    if (f !== 0) {
        writer.writeUint32(2, f);
    }
    f = message.getSize();
    if (f !== 0) {
        writer.writeUint32(3, f);
    }
};

/**
 * optional uint32 container_id = 1;
 * @return {number}
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.getContainerId = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.WriteIDMappingRequest.Mapping} returns this
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.setContainerId = function (value) {
    return jspb.Message.setProto3IntField(this, 1, value);
};

/**
 * optional uint32 host_id = 2;
 * @return {number}
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.getHostId = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.WriteIDMappingRequest.Mapping} returns this
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.setHostId = function (value) {
    return jspb.Message.setProto3IntField(this, 2, value);
};

/**
 * optional uint32 size = 3;
 * @return {number}
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.getSize = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.WriteIDMappingRequest.Mapping} returns this
 */
proto.iws.WriteIDMappingRequest.Mapping.prototype.setSize = function (value) {
    return jspb.Message.setProto3IntField(this, 3, value);
};

/**
 * optional int64 pid = 1;
 * @return {number}
 */
proto.iws.WriteIDMappingRequest.prototype.getPid = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.WriteIDMappingRequest} returns this
 */
proto.iws.WriteIDMappingRequest.prototype.setPid = function (value) {
    return jspb.Message.setProto3IntField(this, 1, value);
};

/**
 * optional bool gid = 2;
 * @return {boolean}
 */
proto.iws.WriteIDMappingRequest.prototype.getGid = function () {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};

/**
 * @param {boolean} value
 * @return {!proto.iws.WriteIDMappingRequest} returns this
 */
proto.iws.WriteIDMappingRequest.prototype.setGid = function (value) {
    return jspb.Message.setProto3BooleanField(this, 2, value);
};

/**
 * repeated Mapping mapping = 3;
 * @return {!Array<!proto.iws.WriteIDMappingRequest.Mapping>}
 */
proto.iws.WriteIDMappingRequest.prototype.getMappingList = function () {
    return /** @type{!Array<!proto.iws.WriteIDMappingRequest.Mapping>} */ (
        jspb.Message.getRepeatedWrapperField(this, proto.iws.WriteIDMappingRequest.Mapping, 3)
    );
};

/**
 * @param {!Array<!proto.iws.WriteIDMappingRequest.Mapping>} value
 * @return {!proto.iws.WriteIDMappingRequest} returns this
 */
proto.iws.WriteIDMappingRequest.prototype.setMappingList = function (value) {
    return jspb.Message.setRepeatedWrapperField(this, 3, value);
};

/**
 * @param {!proto.iws.WriteIDMappingRequest.Mapping=} opt_value
 * @param {number=} opt_index
 * @return {!proto.iws.WriteIDMappingRequest.Mapping}
 */
proto.iws.WriteIDMappingRequest.prototype.addMapping = function (opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(
        this,
        3,
        opt_value,
        proto.iws.WriteIDMappingRequest.Mapping,
        opt_index,
    );
};

/**
 * Clears the list making it empty but non-null.
 * @return {!proto.iws.WriteIDMappingRequest} returns this
 */
proto.iws.WriteIDMappingRequest.prototype.clearMappingList = function () {
    return this.setMappingList([]);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.EvacuateCGroupRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.EvacuateCGroupRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.EvacuateCGroupRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.EvacuateCGroupRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.EvacuateCGroupRequest}
 */
proto.iws.EvacuateCGroupRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.EvacuateCGroupRequest();
    return proto.iws.EvacuateCGroupRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.EvacuateCGroupRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.EvacuateCGroupRequest}
 */
proto.iws.EvacuateCGroupRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.EvacuateCGroupRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.EvacuateCGroupRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.EvacuateCGroupRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.EvacuateCGroupRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.EvacuateCGroupResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.EvacuateCGroupResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.EvacuateCGroupResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.EvacuateCGroupResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.EvacuateCGroupResponse}
 */
proto.iws.EvacuateCGroupResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.EvacuateCGroupResponse();
    return proto.iws.EvacuateCGroupResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.EvacuateCGroupResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.EvacuateCGroupResponse}
 */
proto.iws.EvacuateCGroupResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.EvacuateCGroupResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.EvacuateCGroupResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.EvacuateCGroupResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.EvacuateCGroupResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.MountProcRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.MountProcRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.MountProcRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.MountProcRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                target: jspb.Message.getFieldWithDefault(msg, 1, ""),
                pid: jspb.Message.getFieldWithDefault(msg, 2, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.MountProcRequest}
 */
proto.iws.MountProcRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.MountProcRequest();
    return proto.iws.MountProcRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.MountProcRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.MountProcRequest}
 */
proto.iws.MountProcRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {string} */ (reader.readString());
                msg.setTarget(value);
                break;
            case 2:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setPid(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.MountProcRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.MountProcRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.MountProcRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.MountProcRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getTarget();
    if (f.length > 0) {
        writer.writeString(1, f);
    }
    f = message.getPid();
    if (f !== 0) {
        writer.writeInt64(2, f);
    }
};

/**
 * optional string target = 1;
 * @return {string}
 */
proto.iws.MountProcRequest.prototype.getTarget = function () {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};

/**
 * @param {string} value
 * @return {!proto.iws.MountProcRequest} returns this
 */
proto.iws.MountProcRequest.prototype.setTarget = function (value) {
    return jspb.Message.setProto3StringField(this, 1, value);
};

/**
 * optional int64 pid = 2;
 * @return {number}
 */
proto.iws.MountProcRequest.prototype.getPid = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.MountProcRequest} returns this
 */
proto.iws.MountProcRequest.prototype.setPid = function (value) {
    return jspb.Message.setProto3IntField(this, 2, value);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.MountProcResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.MountProcResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.MountProcResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.MountProcResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.MountProcResponse}
 */
proto.iws.MountProcResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.MountProcResponse();
    return proto.iws.MountProcResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.MountProcResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.MountProcResponse}
 */
proto.iws.MountProcResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.MountProcResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.MountProcResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.MountProcResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.MountProcResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.UmountProcRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.UmountProcRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.UmountProcRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.UmountProcRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                target: jspb.Message.getFieldWithDefault(msg, 1, ""),
                pid: jspb.Message.getFieldWithDefault(msg, 2, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.UmountProcRequest}
 */
proto.iws.UmountProcRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.UmountProcRequest();
    return proto.iws.UmountProcRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.UmountProcRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.UmountProcRequest}
 */
proto.iws.UmountProcRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {string} */ (reader.readString());
                msg.setTarget(value);
                break;
            case 2:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setPid(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.UmountProcRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.UmountProcRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.UmountProcRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.UmountProcRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getTarget();
    if (f.length > 0) {
        writer.writeString(1, f);
    }
    f = message.getPid();
    if (f !== 0) {
        writer.writeInt64(2, f);
    }
};

/**
 * optional string target = 1;
 * @return {string}
 */
proto.iws.UmountProcRequest.prototype.getTarget = function () {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};

/**
 * @param {string} value
 * @return {!proto.iws.UmountProcRequest} returns this
 */
proto.iws.UmountProcRequest.prototype.setTarget = function (value) {
    return jspb.Message.setProto3StringField(this, 1, value);
};

/**
 * optional int64 pid = 2;
 * @return {number}
 */
proto.iws.UmountProcRequest.prototype.getPid = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.UmountProcRequest} returns this
 */
proto.iws.UmountProcRequest.prototype.setPid = function (value) {
    return jspb.Message.setProto3IntField(this, 2, value);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.UmountProcResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.UmountProcResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.UmountProcResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.UmountProcResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.UmountProcResponse}
 */
proto.iws.UmountProcResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.UmountProcResponse();
    return proto.iws.UmountProcResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.UmountProcResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.UmountProcResponse}
 */
proto.iws.UmountProcResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.UmountProcResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.UmountProcResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.UmountProcResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.UmountProcResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.TeardownRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.TeardownRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.TeardownRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.TeardownRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.TeardownRequest}
 */
proto.iws.TeardownRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.TeardownRequest();
    return proto.iws.TeardownRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.TeardownRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.TeardownRequest}
 */
proto.iws.TeardownRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.TeardownRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.TeardownRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.TeardownRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.TeardownRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.TeardownResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.TeardownResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.TeardownResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.TeardownResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.TeardownResponse}
 */
proto.iws.TeardownResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.TeardownResponse();
    return proto.iws.TeardownResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.TeardownResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.TeardownResponse}
 */
proto.iws.TeardownResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 2:
                var value = /** @type {boolean} */ (reader.readBool());
                msg.setSuccess(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.TeardownResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.TeardownResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.TeardownResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.TeardownResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getSuccess();
    if (f) {
        writer.writeBool(2, f);
    }
};

/**
 * optional bool success = 2;
 * @return {boolean}
 */
proto.iws.TeardownResponse.prototype.getSuccess = function () {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};

/**
 * @param {boolean} value
 * @return {!proto.iws.TeardownResponse} returns this
 */
proto.iws.TeardownResponse.prototype.setSuccess = function (value) {
    return jspb.Message.setProto3BooleanField(this, 2, value);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.SetupPairVethsRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.SetupPairVethsRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.SetupPairVethsRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.SetupPairVethsRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                pid: jspb.Message.getFieldWithDefault(msg, 1, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.SetupPairVethsRequest}
 */
proto.iws.SetupPairVethsRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.SetupPairVethsRequest();
    return proto.iws.SetupPairVethsRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.SetupPairVethsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.SetupPairVethsRequest}
 */
proto.iws.SetupPairVethsRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setPid(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.SetupPairVethsRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.SetupPairVethsRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.SetupPairVethsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.SetupPairVethsRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getPid();
    if (f !== 0) {
        writer.writeInt64(1, f);
    }
};

/**
 * optional int64 pid = 1;
 * @return {number}
 */
proto.iws.SetupPairVethsRequest.prototype.getPid = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.SetupPairVethsRequest} returns this
 */
proto.iws.SetupPairVethsRequest.prototype.setPid = function (value) {
    return jspb.Message.setProto3IntField(this, 1, value);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.SetupPairVethsResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.SetupPairVethsResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.SetupPairVethsResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.SetupPairVethsResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.SetupPairVethsResponse}
 */
proto.iws.SetupPairVethsResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.SetupPairVethsResponse();
    return proto.iws.SetupPairVethsResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.SetupPairVethsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.SetupPairVethsResponse}
 */
proto.iws.SetupPairVethsResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.SetupPairVethsResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.SetupPairVethsResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.SetupPairVethsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.SetupPairVethsResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.WorkspaceInfoRequest.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.WorkspaceInfoRequest.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.WorkspaceInfoRequest} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.WorkspaceInfoRequest.toObject = function (includeInstance, msg) {
        var f,
            obj = {};

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.WorkspaceInfoRequest}
 */
proto.iws.WorkspaceInfoRequest.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.WorkspaceInfoRequest();
    return proto.iws.WorkspaceInfoRequest.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.WorkspaceInfoRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.WorkspaceInfoRequest}
 */
proto.iws.WorkspaceInfoRequest.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.WorkspaceInfoRequest.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.WorkspaceInfoRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.WorkspaceInfoRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.WorkspaceInfoRequest.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.WorkspaceInfoResponse.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.WorkspaceInfoResponse.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.WorkspaceInfoResponse} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.WorkspaceInfoResponse.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                resources: (f = msg.getResources()) && proto.iws.Resources.toObject(includeInstance, f),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.WorkspaceInfoResponse}
 */
proto.iws.WorkspaceInfoResponse.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.WorkspaceInfoResponse();
    return proto.iws.WorkspaceInfoResponse.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.WorkspaceInfoResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.WorkspaceInfoResponse}
 */
proto.iws.WorkspaceInfoResponse.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = new proto.iws.Resources();
                reader.readMessage(value, proto.iws.Resources.deserializeBinaryFromReader);
                msg.setResources(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.WorkspaceInfoResponse.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.WorkspaceInfoResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.WorkspaceInfoResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.WorkspaceInfoResponse.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getResources();
    if (f != null) {
        writer.writeMessage(1, f, proto.iws.Resources.serializeBinaryToWriter);
    }
};

/**
 * optional Resources resources = 1;
 * @return {?proto.iws.Resources}
 */
proto.iws.WorkspaceInfoResponse.prototype.getResources = function () {
    return /** @type{?proto.iws.Resources} */ (jspb.Message.getWrapperField(this, proto.iws.Resources, 1));
};

/**
 * @param {?proto.iws.Resources|undefined} value
 * @return {!proto.iws.WorkspaceInfoResponse} returns this
 */
proto.iws.WorkspaceInfoResponse.prototype.setResources = function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
};

/**
 * Clears the message field making it undefined.
 * @return {!proto.iws.WorkspaceInfoResponse} returns this
 */
proto.iws.WorkspaceInfoResponse.prototype.clearResources = function () {
    return this.setResources(undefined);
};

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.iws.WorkspaceInfoResponse.prototype.hasResources = function () {
    return jspb.Message.getField(this, 1) != null;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.Resources.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.Resources.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.Resources} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.Resources.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                cpu: (f = msg.getCpu()) && proto.iws.Cpu.toObject(includeInstance, f),
                memory: (f = msg.getMemory()) && proto.iws.Memory.toObject(includeInstance, f),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.Resources}
 */
proto.iws.Resources.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.Resources();
    return proto.iws.Resources.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.Resources} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.Resources}
 */
proto.iws.Resources.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = new proto.iws.Cpu();
                reader.readMessage(value, proto.iws.Cpu.deserializeBinaryFromReader);
                msg.setCpu(value);
                break;
            case 2:
                var value = new proto.iws.Memory();
                reader.readMessage(value, proto.iws.Memory.deserializeBinaryFromReader);
                msg.setMemory(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.Resources.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.Resources.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.Resources} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.Resources.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getCpu();
    if (f != null) {
        writer.writeMessage(1, f, proto.iws.Cpu.serializeBinaryToWriter);
    }
    f = message.getMemory();
    if (f != null) {
        writer.writeMessage(2, f, proto.iws.Memory.serializeBinaryToWriter);
    }
};

/**
 * optional Cpu cpu = 1;
 * @return {?proto.iws.Cpu}
 */
proto.iws.Resources.prototype.getCpu = function () {
    return /** @type{?proto.iws.Cpu} */ (jspb.Message.getWrapperField(this, proto.iws.Cpu, 1));
};

/**
 * @param {?proto.iws.Cpu|undefined} value
 * @return {!proto.iws.Resources} returns this
 */
proto.iws.Resources.prototype.setCpu = function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
};

/**
 * Clears the message field making it undefined.
 * @return {!proto.iws.Resources} returns this
 */
proto.iws.Resources.prototype.clearCpu = function () {
    return this.setCpu(undefined);
};

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.iws.Resources.prototype.hasCpu = function () {
    return jspb.Message.getField(this, 1) != null;
};

/**
 * optional Memory memory = 2;
 * @return {?proto.iws.Memory}
 */
proto.iws.Resources.prototype.getMemory = function () {
    return /** @type{?proto.iws.Memory} */ (jspb.Message.getWrapperField(this, proto.iws.Memory, 2));
};

/**
 * @param {?proto.iws.Memory|undefined} value
 * @return {!proto.iws.Resources} returns this
 */
proto.iws.Resources.prototype.setMemory = function (value) {
    return jspb.Message.setWrapperField(this, 2, value);
};

/**
 * Clears the message field making it undefined.
 * @return {!proto.iws.Resources} returns this
 */
proto.iws.Resources.prototype.clearMemory = function () {
    return this.setMemory(undefined);
};

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.iws.Resources.prototype.hasMemory = function () {
    return jspb.Message.getField(this, 2) != null;
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.Cpu.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.Cpu.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.Cpu} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.Cpu.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                used: jspb.Message.getFieldWithDefault(msg, 1, 0),
                limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.Cpu}
 */
proto.iws.Cpu.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.Cpu();
    return proto.iws.Cpu.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.Cpu} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.Cpu}
 */
proto.iws.Cpu.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setUsed(value);
                break;
            case 2:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setLimit(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.Cpu.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.Cpu.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.Cpu} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.Cpu.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getUsed();
    if (f !== 0) {
        writer.writeInt64(1, f);
    }
    f = message.getLimit();
    if (f !== 0) {
        writer.writeInt64(2, f);
    }
};

/**
 * optional int64 used = 1;
 * @return {number}
 */
proto.iws.Cpu.prototype.getUsed = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.Cpu} returns this
 */
proto.iws.Cpu.prototype.setUsed = function (value) {
    return jspb.Message.setProto3IntField(this, 1, value);
};

/**
 * optional int64 limit = 2;
 * @return {number}
 */
proto.iws.Cpu.prototype.getLimit = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.Cpu} returns this
 */
proto.iws.Cpu.prototype.setLimit = function (value) {
    return jspb.Message.setProto3IntField(this, 2, value);
};

if (jspb.Message.GENERATE_TO_OBJECT) {
    /**
     * Creates an object representation of this proto.
     * Field names that are reserved in JavaScript and will be renamed to pb_name.
     * Optional fields that are not set will be set to undefined.
     * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
     * For the list of reserved names please see:
     *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
     * @param {boolean=} opt_includeInstance Deprecated. whether to include the
     *     JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @return {!Object}
     */
    proto.iws.Memory.prototype.toObject = function (opt_includeInstance) {
        return proto.iws.Memory.toObject(opt_includeInstance, this);
    };

    /**
     * Static version of the {@see toObject} method.
     * @param {boolean|undefined} includeInstance Deprecated. Whether to include
     *     the JSPB instance for transitional soy proto support:
     *     http://goto/soy-param-migration
     * @param {!proto.iws.Memory} msg The msg instance to transform.
     * @return {!Object}
     * @suppress {unusedLocalVariables} f is only used for nested messages
     */
    proto.iws.Memory.toObject = function (includeInstance, msg) {
        var f,
            obj = {
                used: jspb.Message.getFieldWithDefault(msg, 1, 0),
                limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
            };

        if (includeInstance) {
            obj.$jspbMessageInstance = msg;
        }
        return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.iws.Memory}
 */
proto.iws.Memory.deserializeBinary = function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.iws.Memory();
    return proto.iws.Memory.deserializeBinaryFromReader(msg, reader);
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.iws.Memory} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.iws.Memory}
 */
proto.iws.Memory.deserializeBinaryFromReader = function (msg, reader) {
    while (reader.nextField()) {
        if (reader.isEndGroup()) {
            break;
        }
        var field = reader.getFieldNumber();
        switch (field) {
            case 1:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setUsed(value);
                break;
            case 2:
                var value = /** @type {number} */ (reader.readInt64());
                msg.setLimit(value);
                break;
            default:
                reader.skipField();
                break;
        }
    }
    return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.iws.Memory.prototype.serializeBinary = function () {
    var writer = new jspb.BinaryWriter();
    proto.iws.Memory.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.iws.Memory} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.iws.Memory.serializeBinaryToWriter = function (message, writer) {
    var f = undefined;
    f = message.getUsed();
    if (f !== 0) {
        writer.writeInt64(1, f);
    }
    f = message.getLimit();
    if (f !== 0) {
        writer.writeInt64(2, f);
    }
};

/**
 * optional int64 used = 1;
 * @return {number}
 */
proto.iws.Memory.prototype.getUsed = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.Memory} returns this
 */
proto.iws.Memory.prototype.setUsed = function (value) {
    return jspb.Message.setProto3IntField(this, 1, value);
};

/**
 * optional int64 limit = 2;
 * @return {number}
 */
proto.iws.Memory.prototype.getLimit = function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};

/**
 * @param {number} value
 * @return {!proto.iws.Memory} returns this
 */
proto.iws.Memory.prototype.setLimit = function (value) {
    return jspb.Message.setProto3IntField(this, 2, value);
};

/**
 * @enum {number}
 */
proto.iws.FSShiftMethod = {
    SHIFTFS: 0,
    FUSE: 1,
};

goog.object.extend(exports, proto.iws);
